package com.qf.openapi.web.master.dao;

import com.qf.openapi.web.master.entity.User;
import com.qf.openapi.web.master.vo.UserVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    public User getUserById(Integer id);
    User getUserByName(@Param("name") String name);
    int insertUser(User user);
    List<User> getAllUsers();
    void deleteUserByIds(String[] ids);
    void updateUser(User user);
    List<User> getAllUsersByCondition(UserVo userVo);
    Integer getTotalCount();
}
